import request from '@/util/request.js'
/**
 * @description 党建情况
 * @param data
 * @returns {*}
 */
export function getPageDetailApi(data) {
	return request({
		url: '/pageDetail',
		method: 'GET',
		data
	})
}
/**
 * @description 社区列表
 * @param data
 * @returns {*}
 */
export function getCommunityListApi(data) {
	return request({
		url: '/communityList',
		method: 'GET',
		data
	})
}
/**
 * @description 党群服务中心分页列表
 * @param data
 * @returns {*}
 */
export function getBuildListApi(data) {
	return request({
		url: '/buildList',
		method: 'GET',
		data
	})
}
/**
 * @description 详情
 * @param data
 * @returns {*}
 */
export function getBuildDetailApi(id) {
	return request({
		url: `/buildDetail/${id}`,
		method: 'GET'
	})
}